<template>
    <view class="container">
        <image class="avater section" :src="unit.avatar" mode="aspectFill"></image>
        <view class="content section">
            <article-content :article='unit.enArticle' :lightPointWord='false' @tapItem='tapItem'></article-content>
        </view>
        <view class="content section">
            <article-content :article='unit.cnArticle' :lightPointWord='false' @tapItem='tapItem'></article-content>
        </view>
        <view class="bottom">
            <view class="bottom fixed-bottom c-position_fixed c-flex_row">
                <view class="audio c-flex_1">
                    <audio-bar :src='unit.originalAudio'></audio-bar>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
    import UnitDetailMixin from "../../mixins/unit-detail-mixin.js";
    import ContentMixin from "../../mixins/content-mixin.js";
    import articleContent from "../../components/article-content.vue";
    import audioBar from "../../components/audio-bar.vue";
    export default {
        components: {
            articleContent,
            audioBar
        },
        mixins: [UnitDetailMixin, ContentMixin],
        data() {
            return {

            };
        },
        methods: {
            tapItem() {}
        }
    }
</script>

<style lang="scss" scoped>
    @import "../../styles/sub-page.scss";
</style>